From eb2b6f077d4492daf4e7f9dfceaedc7f89cef738 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 20 Mar 2015 18:52:45 -0700 Subject: [PATCH] Only doctest libs by default --- src/cargo/core/manifest.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cargo/core/manifest.rs b/src/cargo/core/manifest.rs index 5d003f0dc..983985fc1 100644 --- a/src/cargo/core/manifest.rs +++ b/src/cargo/core/manifest.rs @@ -238,7 +238,7 @@ impl Target { src_path: PathBuf::new(""), metadata: None, doc: true, - doctest: true, + doctest: false, harness: true, for_host: false, tested: true, @@ -254,6 +254,7 @@ impl Target { name: name.to_string(), src_path: src_path.to_path_buf(), metadata: Some(metadata), + doctest: true, ..Target::blank() } } -- 2.30.2